package com.zoe.app.service;

import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

/**
 * @author zbg
 * @date 2023/05/08
 * @description
 */
@Service
@RequiredArgsConstructor
public class CallUser {
    // 一个接口有多个实现类的时候，字段名字就直接写bean名字
    private final BaseUser userOne;

    public void say() {
        userOne.say();
    }
}
